package cn.lili.modules.goods.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.goods.client.StudioCommodityClient;
import cn.lili.modules.goods.entity.dos.StudioCommodity;
import org.springframework.stereotype.Component;

/**
 * @author: ftyy
 * @date: 2022-01-19 17:41
 * @description: 直播间商品Fallback
 */
public class StudioCommodityFallback implements StudioCommodityClient {
    @Override
    public StudioCommodity getOne(Integer roomId, Integer goodsId) {
        throw new ServiceException();
    }

    @Override
    public void save(StudioCommodity studioCommodity) {
        throw new ServiceException();
    }

    @Override
    public void remove(StudioCommodity studioCommodity) {
        throw new ServiceException();
    }
}
